<?include ($_SERVER ["DOCUMENT_ROOT"] . "/lib/module/conn_db.php");?>
<?include ($_SERVER ["DOCUMENT_ROOT"] . "/lib/module/Util.php");?>
<?php //DB Open

	$result = null;
	$db = new MyDB ( false );
	$db->err_report = true;

?>
<?php

	$util = new Util();

	$sid = $_GET['sid'];

	$sql = "SELECT * from tb_board_article WHERE article_sid=".$sid." ORDER BY article_sid DESC";
	$db->query ( $sql );
	$query = $db->result;
	$total = mysql_num_rows ($query);
	if($total>0) $root = mysql_fetch_object($query);

	$i=0;
?>
<?php //DB Close

	$db->close ();

?>
<? include "inc/inc_header.php" ?><!-- header -->
	<script type="text/javascript">
		$().ready(function (){
			var hig=document.body.scrollHeight;
			var hig1=document.body.scrollWidth;
			var reHig = hig+70;
			var reHig1 = hig1+20;
			parent.resizeTo(reHig1,reHig);
			//alert(reHig);
		});
	</script>
<style type="text/css">
<!--
.style1 {font-weight: bold}
body{overflow-Y:scroll;}
-->
</style>
<body oncontextmenu="return false" onselectstart="return false" ondragstart="return false">
	<table width="460" border="0" cellpadding="0" cellspacing="10" bgcolor="#696969">
	  <tr>
		<td bgcolor="#FFFFFF" style="padding:20px"><table width="400" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			<td style="padding-bottom:30px;"><table width="400" border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td width="170" valign="top"><img src="uploads/4/<?php echo $root->article_title_img;?>" width="150" height="194"></td>
				<td valign="bottom" style="padding-bottom:10px;"><table width="0" border="0" cellspacing="0" cellpadding="0">
				  <tr>
					<td class="text02 style1" style="padding-bottom:8px;"><span class="text06"><?php echo $root->article_title;?></span>  <?php echo $root->article_exp1;?></td>
				  </tr>
				  <tr>
					<td class="text02" style="padding-bottom:10px;"><?php echo $root->article_exp2;?></td>
				  </tr>
				  <tr>
					<td class="text02"><?php echo $root->article_exp3;?> <?php echo $root->article_exp4;?></td>
				  </tr>
				</table></td>
			  </tr>
			</table></td>
		  </tr>
		  <tr>
			<td style="padding-bottom:30px;"><table width="400" border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td class="text06" style="padding-bottom:5px;"><strong class="text07">학력</strong></td>
			  </tr>
			  <tr>
				<td><table width="400" border="0" cellpadding="0" cellspacing="1" bgcolor="#D3D3D3">
				  <tr>
					<td bgcolor="#EBEBEB" class="text02" style="padding:12px;"><?php echo $root->article_exp5;?></td>
				  </tr>
				</table></td>
			  </tr>
			</table></td>
		  </tr>
		  <tr>
			<td style="padding-bottom:30px;"><table width="400" border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td class="text06" style="padding-bottom:5px;"><strong class="text07">경력</strong></td>
			  </tr>
			  <tr>
				<td><table width="400" border="0" cellpadding="0" cellspacing="1" bgcolor="#D3D3D3">
				  <tr>
					<td bgcolor="#EBEBEB" class="text02" style="padding:12px;"><?php echo $root->article_exp6;?></td>
				  </tr>
				</table></td>
			  </tr>
			</table></td>
		  </tr>
		  <tr>
			<td style="padding-bottom:30px;"><table width="400" border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td class="text06" style="padding-bottom:5px;"><strong class="text07">현직</strong></td>
			  </tr>
			  <tr>
				<td><table width="400" border="0" cellpadding="0" cellspacing="1" bgcolor="#D3D3D3">
				  <tr>
					<td bgcolor="#EBEBEB" class="text02" style="padding:12px;"><?php echo $root->article_exp7;?></td>
				  </tr>
				</table></td>
			  </tr>
			</table></td>
		  </tr>
		  <tr>
			<td><table width="400" border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td class="text06" style="padding-bottom:5px;"><strong class="text07">수상 및 저서</strong></td>
			  </tr>
			  <tr>
				<td><table width="400" border="0" cellpadding="0" cellspacing="1" bgcolor="#D3D3D3">
				  <tr>
					<td bgcolor="#EBEBEB" class="text02" style="padding:12px;"><?php echo $root->article_exp8;?></td>
				  </tr>
				</table></td>
			  </tr>
			</table></td>
		  </tr>
		  <tr>
			<td align="right" style="padding-top:10px;"><img src="img/surn/cont_btn02.jpg" width="50" height="22" border="0" onClick="javascript:window.close();"  style="cursor:hand"></td>
		  </tr>
		</table></td>
	  </tr>
	</table>
<? include "inc/inc_footer.php" ?><!-- footer -->